package com.dksidana.java.jdbc.pool;

import java.sql.Connection;
import java.sql.SQLException;

import javax.sql.DataSource;

import com.dksidana.java.pool.PoolableObjectFactory;
import com.dksidana.java.pool.impl.GenericPool;

public class ConnectionPool extends GenericPool<Connection,SQLException>{
	
	public ConnectionPool(PoolableObjectFactory<Connection,SQLException> _factory) {
		super(_factory);
	}
	public ConnectionPool(DataSource dataSource) {
		super(new ConnectionFactory(dataSource));
	}
}
